package com.yungu.swift.assets;

import com.alicp.jetcache.anno.config.EnableMethodCache;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ImportResource;
import org.springframework.kafka.annotation.EnableKafka;

/**
 * @author gaozhenling
 * @description
 * @date: 2019/03/22 17:14
 */
@EnableMethodCache(basePackages = "com.yungu.swift")
@SpringBootApplication
@EnableConfigurationProperties
@MapperScan(value = "com.yungu.swift.assets.*.dao")
@ImportResource(value = {"classpath:dubbo-provider.xml"})
@EnableKafka
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
        System.out.println("Application1启动成功");
    }
}
